/* 通用样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* 搜索容器 */
.search-container {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
}

#search {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.address-buttons {
    margin: 20px 0;
}

.address-buttons button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
}

/* 下拉框 */
.dropdowns {
    display: flex;
    justify-content: center;
}

.select-container {
    margin: 10px;
    position: relative;
}

select {
    width: 200px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

select option {
    background-color: #fff;
}

/* 公司容器 */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.company-container {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px;
    max-width: 300px;
    flex: 1 1 250px;
}

.company-container h2 {
    color: #4CAF50;
    margin-bottom: 10px;
    text-align: center;
}

.company-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-container li {
    margin-bottom: 5px;
}

/* 按钮悬停效果 */
#btn:hover, .address-buttons button:hover {
    background-color: #45a049;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 响应式样式 */
@media (max-width: 600px) {
    .search-container {
        padding: 10px;
    }

    #search, select {
        width: 100%;
    }

    .company-container {
        max-width: 100%;
    }
}

#searchBtn {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

/* Button hover effect */
#searchBtn:hover {
    background-color: #45a049;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.company-container:hover {
    background-color: blue;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Change mouse cursor on hover */
.company-container {
    cursor: pointer;
}
